

export let globalAdapter: { adapter: IGlobalAdapter } = { adapter: undefined };

export interface IGlobalAdapter {
    setFog(value: boolean): void;
    setMask(value: boolean): void;
    setSkyModel(value: string): void;
    setTimeOfDay(num: number): void;
    setTimeOfDayScale(num: number): void;
    setItemUbertip(itemId: string, tip: string): void;
    stopBackMusic(fadeOut: boolean): void;
    startBackMusic(path: string): void;
    toast(text: string, playerId?: number): boolean;
    getHandleId(handle: any): string | undefined;
    getStartTime(): number;
    addItemToAllStock(itemId: string, num: number): void;
    removeItemFromAllStock(itemId: string): void;
}